﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;

namespace AutoPartsSearch.Web.ViewModels.SearchQuery
{
    public class Person
    {
        [UIHint("EmptyDropDown")]
        [Required]
        public int City { get; set; }
    
        [Required]
        public string Name { get; set; }
        [Required]
        public string Phone { get; set; }
        public string Phone2 { get; set; }
        [Required]
        public string Email { get; set; }
        [DataType(DataType.MultilineText)]
        public string Comment { get; set; }
    }
}